package com.cacy.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Project: spring_testProject_20250317
 * Package: com.cacy.controller
 * Class:   HelloController
 * Description:
 *
 * @Date: 2025/3/17 周一
 * @Time: 16:30
 * @Author: 凯齐
 */

@RestController
public class HelloController {

    @RequestMapping("/hello")
    public String hello(String name){
        System.out.println("name: "+name);
        return "Hello "+name;
    }
}
